import styled from 'styled-components';

export const HomeWrapper = styled.div`
  width:960px;
  margin: 30px auto;
  height: 400px
`;

export const HomeLeft = styled.div`
  width: 640px;
  float: left;
  .banner-img{
    width: 625px;
    height: 270px
  }
`;

export const HomeRight = styled.div`
  float: right;
  width: 320;
`;

// topic样式：
export const TopicWrapper = styled.div`
  font-size: 14px;
  padding: 20px 0 10px;
  overflow: hidden;
  margin-left: -18px
  border-bottom: 1px solid #dcdcdc;
`;

export const TopicItem = styled.div`
  float: left;
  line-height: 32px;
  height: 32px;
  border: 1px solid #dcdcdc;
  margin: 0 0 15px 18px;
  color: #000;
 	background: #f7f7f7;
 	padding-right: 10px
  img{
    width: 32px;
		height: 32px;
    display: block;
    float: left;
    margin-right: 10px;
  }
`;

export const ListItem = styled.div`
  padding: 15px 0;
  overflow: hidden;
  img{
    display: line-block;
    float: left;
    width: 150px;
    height: 100px;
  }
  border-bottom: 1px solid #dcdcdc
`;

export const ListInfo = styled.div`
  width: 480px
  float: left;
  .title{
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    color: #969696;
  }
  .desc{
    font-size: 13px;
    color: #999;
    line-height: 24px;
  }
`;

export const RecommendWrapper = styled.div`
 width: 280px;
`;

export const RecommendItem = styled.div`
 margin-bottom: 4px;
 height: 50px;
 background-image: url(${(props) => props.url});
 background-size: cover;
`;

export const ListLoading = styled.div`
  height: 40px;
  line-height: 40px;
  background: #a5a5a5;
  color: #fff;
  text-align: center;
  border-radius: 40px;
  margin-top: 30px;
  cursor: pointer;
`;

export const BackTop =styled.div`
  position: fixed;
  right: 100px;
  bottom: 100px;
  height: 60px
  width: 100px;
  line-height: 60px;
  cursor: pointer;
  text-align: center;
  border: 1px solid #dcdcdc
`